package com.lipaluma.examples.annotation.custom;

import com.lipaluma.field.merge.FieldMergedAlgorithm;

public class TotalAmountTTCAddition implements FieldMergedAlgorithm {

	public Object merge(Object oldObject, Object newObject, String... params) {
		return (Double)oldObject + (Double)newObject;
	}

	@Override
	public Object[] unmerge(Object value) {
		return null;
	}

}
